﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FortuneHeavenCommon.DataMap
{
    public partial class RechargeHistory
    {
        public const string TABLE_NAME = "RechargeHistory";
        public const string INSERT_SQL = "insert into RechargeHistory([UserID],[RechargeType],[Time],[CardCode],[RechargeValue],IsComplete) values (@UserID,@RechargeType,@Time,@CardCode,@RechargeValue,@IsComplete)";
        public const string UPDATE_SQL = "UPDATE RechargeHistory SET [UserID]=@UserID,[RechargeType]=@RechargeType,[Time]=@Time,[CardCode]=@CardCode,[RechargeValue]=@RechargeValue,[IsComplete]=@IsComplete where ID = @ID";

        /// <summary>
        ///
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int UserID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int RechargeType
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime Time
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string CardCode
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int RechargeValue
        {
            get;
            set;
        }

        public int IsComplete
        {
            get;
            set;
        }
    }

}
